<!DOCTYPE html>
<html lang="zh">
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
	<title>家校互动系统</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
	<link rel="shortcut icon" href="favicon.ico" />
	 <link href="__TMPL__css/bootstrap.min.css" rel="stylesheet" type="text/css" />
	<link href="__TMPL__css/m.css" rel="stylesheet" type="text/css" />
	<script src="__TMPL__js/jquery.min.js"></script>
	<script src="__TMPL__js/iscroll.js"></script>
	<script src="__TMPL__js/m.js"></script>
	<!--[if lt IE 9]>
	<script src="js/html5.js"></script>
	<![endif]-->
</head> 
<body><!-- 背景可后台替换 -->
<div class="wrap ui-page  ui-body-c ui-page-active webwidth">
	<div class="ui-header">
		<a href="__URL__/user_info" id="icoback" class="header-btn left-pos">返回</a>
		<h1 class="ui-title">头像修改</h1>
	</div>
		
	<div id="wrapper">
		<div class="clear" style="padding:12px 12px 72px 12px">
		<form class="ui-form ui-form-large" id="" name="" method="post" action="__URL__/parent_save_pic" enctype="multipart/form-data">
			<ul class="listform">
				<li class="data clear">
					<p class="labe flleft">头像</p>
					<p class="labecon flright"><a href="#" class="show more" style="padding-right:30px;"><img src="/{$parentinfo.pic}" /></a>
					</p>
				</li>
				<li class="data clear">
					<p class="labe flleft" style="width:30px;">上传</p>
					<p class="labecon flright" style="width:220px;">
						<input name="pic" type="file" id="pic" />
					</p>
				</li>
				<li class="data clear" style="border:none">
					&nbsp;* 目前只支持电脑端和APP端上传,手机网页请移步..
				</li>
			</ul>
			<input class="btn btn-primary show" style="width:100%;margin:15px auto 10px;height:35px" value="提交上传" type="submit">
		</form>
		</div>
	</div><!-- /wrapper -->
	
	<div class="ui-footer">
		<a href="__URL__/message_list" id="message"></a>		<a href="__URL__/im_list" id="txlist"></a>
		<a href="__URL__/functions" id="function"></a>
		<a href="#" id="userinfo" class="cur"></a>
	</div>
</div>

		<script type="text/javascript">
			//js模拟滚动条
			var myScroll;
			function loaded() {
				myScroll = new iScroll('wrapper');
			}

			document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);
			document.addEventListener('DOMContentLoaded', allowFormsInIscroll, false);
			document.addEventListener('DOMContentLoaded', loaded, false);
		</script>
		
		<script type="text/javascript" src="__TMPL__js/jquery.jeditable.js"></script>
		<script type="text/javascript">
		$(function(){
			 $('.ajaxedit').editable('save.php');<!-- ajax修改 name为id -->
		});
		</script>
</body>
</html>